<HTML>
<HEAD>
<link rel=stylesheet type="text/css" href="styles.css">
<TITLE>Simkin IfElse Statement</TITLE>
</HEAD>
<BODY>

<H1>
Simkin IfElse Statement</H1>
<hr>
<p>
This statement allows you to optionally execute one of two sets of
statements dependent on the truth of an expression.
<p>
The format of the statement is:
<pre>
if (&lt;expression&gt;) {
 &lt;statements...&gt;
}else{
 &lt;statements...&gt;
}
</pre>
You must use "{" and "}" to indicate the statements in both the "if" and "else" parts of the statement.
<p>For example:
<pre>
if (transaction.complete()) {
  transaction.commit();
}else{
  transaction.continue();
}
</pre>

</BODY>
</HTML>
